package cn.zhfeat.hatch;

import java.io.IOException;

import org.springframework.context.support.ClassPathXmlApplicationContext;
 

public class ServiceApp { 
	
	 

	public static void main(String[] args) throws IOException {
		//System.setProperty("java.net.preferIPv4Stack", "true"); 
		ClassPathXmlApplicationContext context = new ClassPathXmlApplicationContext(new String[]{"classpath:META-INF/spring/spring-dubbo.xml","classpath:META-INF/spring/spring-mybatis.xml","classpath:META-INF/spring/applicationContext.xml","classpath:META-INF/spring/spring-cache.xml","classpath:META-INF/spring/spring-data-redis.xml"});
//		new SystemInit().onInit();
		context.start(); 
		
        System.out.println("hatch_service 启动成功");
        System.in.read(); // press any key to exit
	}
}
